/*
 * This file is part of JSTUN. 
 * 
 * Copyright (c) 2005 Thomas King <king@t-king.de> - All rights
 * reserved.
 * 
 * This software is licensed under either the GNU Public License (GPL),
 * or the Apache 2.0 license. Copies of both license agreements are
 * included in this distribution.
 */

package com.jstun.core.header;

/**
 *	메시지 헤더 enum 타입 및 상수 타입 
 *  @interface
 */
public interface MessageHeaderInterface {
	/** 메시지 헤더 enum 타입 */
	public enum MessageHeaderType { BindingRequest, BindingResponse, BindingErrorResponse, SharedSecretRequest, SharedSecretResponse, SharedSecretErrorResponse };
	/** 요청 묶기 */
	final static int BINDINGREQUEST = 0x0001;				
	/** 응답 묶기 */
	final static int BINDINGRESPONSE = 0x0101;		
	/** 응답 에러코드 묶기 */
	final static int BINDINGERRORRESPONSE = 0x0111;		
	/** 공유 암호 요청 */
	final static int SHAREDSECRETREQUEST = 0x0002;	
	/** 공유 암호 응답 */
	final static int SHAREDSECRETRESPONSE = 0x0102;			
	/** 공유 암호 응답 에러 */
	final static int SHAREDSECRETERRORRESPONSE = 0x0112;	
}
